﻿Imports DTO
Imports DAO
Public Class OrdersBUS
    Private ordersDao As New OrdersDAO()
    Public Sub InsertOrders(ByVal receiptID As Integer, ByVal staffId As Integer, ByVal serviceID As Integer, ByVal quantity As Integer, ByVal roomId As Integer)
        ordersDao.InsertOrders(receiptID, staffId, serviceID, quantity, roomId)
    End Sub
    Public Function GetListOrdersByReceiptID(ByVal receiptID As Integer, ByVal staffId As Integer, ByVal roomId As Integer) As List(Of OrdersDTO)
        Return ordersDao.GetListOrdersByReceiptID(receiptID, staffId, roomId)
    End Function
    Public Sub Update(ByVal receiptID As Integer, ByVal staffId As Integer, ByVal serviceID As Integer, ByVal quantity As Integer, ByVal roomId As Integer)
        ordersDao.Update(receiptID, staffId, serviceID, quantity, roomId)
    End Sub
End Class
